package fcl.platform;

public enum DataHeader {
	UUID(23),
	INDIVIDUAL(7),
	START(0),
	END(1),
	ACCEL_DATA(2),
	MAGNET_DATA(3),
	MODE(4),
	CELL_DATA(5),
	LOCATION_DATA(6),
	;
	private DataHeader(int header)
	{
		this.header = header;
	}
	public static DataHeader toHeader(int h)
	{
		switch(h)
		{
		case 23:
			return UUID;
		case 0:
			return START;
		case 1:
			return END;
		case 2:
			return ACCEL_DATA;
		case 3:
			return MAGNET_DATA;
		case 4:
			return MODE;
		case 5:
			return CELL_DATA;
		case 6:
			return LOCATION_DATA;
		case 7:///s
			return INDIVIDUAL;///s
		default:
			return null;
		}
	}
	public final int header;

}
